package com.andy.feign;

import com.andy.entity.HistoricActivityInstanceEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(name = "activity")
public interface ActFeignService {

    @GetMapping("/flow/findFlowTask")
    public List<HistoricActivityInstanceEntity> getFlowHistory(@RequestParam("businessKey") String businessKey);
}
